package com.example.myapplication.notification;

import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import android.util.Log;

import androidx.annotation.Nullable;

public class PushService extends Service {
    private static final String TAG = "PushService";

    @Nullable
    @Override
    public IBinder onBind(Intent intent) {
        return null;
    }

    @Override
    public int onStartCommand(Intent intent, int flags, int startId) {
        int extra = intent.getIntExtra("KEY_TYPE", 0);
        Log.e(TAG, "onStartCommand=" + extra);
        return START_REDELIVER_INTENT;
    }
}
